package com.blr.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * ClassName: DemoController
 * Description:
 * Date: 2022/11/08 PM 5:07:12
 * <p>
 * project: codes
 * package: com.blr.controller
 * email: 1085844536@qq.com
 * version:
 *
 * @author WangGuojian
 */
@RestController
public class DemoController {

    @GetMapping("/admin") //admin
    public String admin() {
        return "admin ok";
    }

    @GetMapping("/user") // user
    public String user() {
        return "user ok";
    }

    @GetMapping("getInfo") // READ_INFO
    public String getInfo() {
        return "info ok";
    }
}
